'use strict';

function spilt_to_zero(number, interval) {
  var  arr=[];
  for( let i=number; parseFloat((i+interval).toFixed(1))>0; i=i-interval){
    let item = parseFloat(i.toFixed(1));
    arr.push(item)
    console.log(item)
  }
  
      console.log(arr);
      return arr;  //在这里写入代码
}

module.exports = spilt_to_zero;
